﻿using BoldBrick.SharePoint.CommonControls.DataObjects.Base;
using Microsoft.SharePoint;

namespace BoldBrick.OneIntranet.HR.DataObjects.Lists.LookupLists
{
	public class TestTypesList : BaseList
	{
		#region ------ Columns --------------------------------------------------------------------

		public static ListColumn TestTypeColumn
		{
			get { return SiteColumns.TestTypeColumn;  }
		}

		public static ListColumn TestTypeNoMenuColumn
		{
			get { return SiteColumns.TestTypeNoMenuColumn; }
		}

		public static ListColumn TestTypeWithMenuColumn
		{
			get { return SiteColumns.TestTypeWithMenuColumn; }
		}

		#endregion

		public TestTypesList()
		{
			this.EnableAttachments = false;
			this.OnQuickLaunch = false;
		}

		protected override string GetListTitleResourceKey()
		{
			return "List_TestTypes_Title";
		}

		protected override string GetListNameResourceKey()
		{
			return "List_TestTypes_Name";
		}

		protected override SPListTemplateType? GetListTemplateType()
		{
			return SPListTemplateType.GenericList;
		}
	}
}
